package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Dept;
import com.atguigu.springcloud.request.SaveDeptRequest;

import java.util.List;

/**
 * Created by luojie on 2018/9/5.
 */
public interface DeptService {

    List<Dept> findAll();

    Dept findById(String id);

    Dept save(SaveDeptRequest request);

    Dept findByDname(String dname);

    Dept updateCount(Dept dept, Integer count);


}
